﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MTool.ViewModels
{
    class ButtonViewModel :ViewModelBase
    {
        private string _text;
        private UInt32 _sortField, _secondarySortField;
        public string Text { get => _text; set => SetProperty(ref _text, value); }
        private RelayCommand _ButtonCommand;
        public RelayCommand ButtonCommand { get => _ButtonCommand; set => SetProperty(ref _ButtonCommand, value); }
        public Func<string, string> Callback { get; set; }
        
        public UInt32 SortField { get => _sortField; set => SetProperty(ref _sortField, value); }// clicked count
    }
}
